﻿<%@ Page Language="C#" validateRequest="false" AutoEventWireup="true" CodeBehind="a0.aspx.cs" Inherits="hcms.Templates.a0" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
	<title>驾驶技术网</title>
	<meta name="Keywords" content="三维模拟练车软件, 三维模拟驾驶软件, 倒车入库, 侧方停车" />

	<meta name="Description" content="国内唯一在线三维模拟学车和实际开车练习软件，有自动演示和模拟训练功能，含专业解释和技巧说明，完全免费。" />

	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<link href="/Styles/Site.css" rel="stylesheet" type="text/css" />
	<script src="/Scripts/jquery.min.161.js" type="text/javascript"></script>
	<script src="/Scripts/jquery.simplemodal.1.4.3.min.js" type="text/javascript"></script>
	<script src="/Scripts/comm.js" type="text/javascript"></script>
	<script src="/Scripts/site.js" type="text/javascript"></script>
	<!-- 板块js -->
	<script src="/Templates/parts.js" type="text/javascript"></script>
	<!-- 模拟驾驶 -->
	<script type="text/javascript">
		var playMode = 1;		// 桩考练习
		var activedCar = null;	// 当前车型
		$(function () {
			var reg = new RegExp("mode:\\s*(\\d+)"); // 页面内容格式是 mode:  1
			if (reg.test($(".artcontent").html()))
				playMode = RegExp.$1;

			if ($.cookie("carName"))
				selectcar($.cookie("carName"));
			else
				selectcar("carJetta");

			$("#cartab div").click(function () {
				selectcar($(this).attr("id"));
			});
		});

		function htmlcar(car) {
			var str = '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,1,0,0" ' +
			'width="1000" height="430" id="id_d3d" align="middle">' +
			'<param name="allowScriptAccess" value="sameDomain" />' +
			'<param name="allowFullScreen" value="true" />' +
			'<param name="movie" value="d3d.swf" />' +
			'<param name="quality" value="high" />' +
'<param name="wmode" value="transparent" >' +
			'<param name="FlashVars" value="playMode=' + playMode + '&car=' + car + '" />' +
			'<embed src="d3d.swf" quality="high" width="1000" height="430"' +
				'name="id_d3d" align="middle" allowscriptaccess="sameDomain" allowfullscreen="true" wmode="transparent"' +
				'flashvars="playMode=' + playMode + '&car=' + car + '"' +
				'type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" />' +
			'</object>';

			$("#idswf").html(str);

			//setTimeout(function(){$("#id_d3d")[0].focus();}, 100); 
			$("#id_d3d")[0].focus(); //?? ff chrom 不管事
		}

		function selectcar(car) {
			if (car == activedCar)
				return;

			if (activedCar != null)
				$("#cartab #" + activedCar).css("background", "url(./images/" + activedCar + "1.png)");
			$("#cartab #" + car).css("background", "url(./images/" + car + "0.png)");

			htmlcar(car);

			$.cookie("carName", car, { expires: 30 });

			activedCar = car;
		}
	</script>

	<style type="text/css">
		h5.sty1{ float:left; margin:10px 0px 0px 7px; _margin-left:3px; width:224px; height:86px; border:solid 1px #aaa; padding:3px 0px 0px 12px; overflow:hidden; font-weight:normal; }
		.sty2{ font-size:1.5em; margin-top:8px; text-align:center; font-weight:bold; }
		.topprompt{ padding:7px 0px 0px 8px; float:left; }
		#cartab { float:left; }
		#cartab div{ width:143px; height:40px; margin:10px 0px 0px 6px; float:left; cursor:pointer; }
		#carJetta{ background:url(/Articles/images/carJetta1.png); }
		#carPickUp{ background:url(/Articles/images/carPickUp1.png); }
		#carSantana{ background:url(/Articles/images/carSantana1.png); }
		.artcontent{ display:none; }
	</style>
</head>
<body>
	<form id="form1" class="page" runat="server">
	<div class="artcontent"><%=arow["artContent"] %></div>
	<!-- 页眉板块 -->
	<script type="text/javascript">		document.write(jsonparts["10"]);</script>
	<h5 class='sty1'><a href="/">首页</a>
			<% foreach (System.Data.DataRow row in posrows)
		 { %>&gt;&gt; <a href="/ColumnList.aspx?cid=<%=row["colID"]%>"><%=row["colName"]%></a>
			<%
		 } %>
		 <br />
		 <div class="sty2"><%=arow["artTitle"] %></div>
			</h5>
	<div class="adTop728x90">
		<script type="text/javascript"><!--
	google_ad_client = "pub-2733994180506707";
	/* 728x90, 创建于 10-6-2 */
	google_ad_slot = "2502943837";
	google_ad_width = 728;
	google_ad_height = 90;
	//-->
		</script>
		<script type="text/javascript"
		src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
		</script>
	</div>
<div class='separation5'></div>

	<!-- 模拟驾驶 -->
    <div id="cartab" class="1" ><div id="carJetta"></div><div id="carPickUp"></div><div id="carSantana"></div></div>
    <div class="topprompt">
    第一次使用可能会慢一些,如果较长时间打不开,参见 <a href="/Articles/009-8aeef7e2-0b7b-49b4-8a66-42a3f41e5b13.htm">常见问题</a>。</br>按上下左右键控制汽车,如果汽车未动,请在下图中点一下鼠标,详见 <a href="/Articles/009-ada7a6e7-690c-48cf-a73d-449edf6bac44.htm">操作说明</a>。
    </div>
    <div id="idswf"></div>

<div class="separation10"></div>		
	<!-- left menu -->
	<div class="pageleft">
		<!-- 热点推荐 -->
		<script type="text/javascript">document.write(jsonparts["13"]);</script>
		<div class="separation10"></div>
		<script type="text/javascript"><!--
	google_ad_client = "pub-2733994180506707";
	/* 160x600, 创建于 10-6-3 */
	google_ad_slot = "6252507617";
	google_ad_width = 160;
	google_ad_height = 600;
	//-->
		</script>
		<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script>
	</div>
    <div class="pageright">
		<div class="combox">
			<h5>参考文档</h5>
			<div class="vmenu" id="ajax_associate"></div>
		</div>

		<div class="separation10"></div>
		<script type="text/javascript"><!--
	google_ad_client = "pub-2733994180506707";
	/* 160x600, 创建于 10-6-3 */
	google_ad_slot = "6252507617";
	google_ad_width = 160;
	google_ad_height = 600;
	//-->
		</script>
		<script type="text/javascript"
		src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
		</script>
	</div>

	
	<div class="column650">
		<div class="combox">
			<h5><a href="/">首页</a>
				<% foreach (System.Data.DataRow row in posrows)
	   { %>&gt;&gt; <a href="/ColumnList.aspx?cid=<%=row["colID"]%>"><%=row["colName"]%></a>
				<%
		 } %>&gt;&gt; <%=arow["artTitle"] %>
			</h5>
			<%=arow["artContent"] %>
		</div>
			<div class="separation20"></div>

		<%-- 评论 --%>
		<script type="text/javascript">
			document.write(jsonparts["14"]);
			//initComments();
</script>
	</div>
	<div class="separation10"></div>		
	<!-- 页脚 -->
	<script type="text/javascript">document.write(jsonparts["15"]);</script>
	</form>
</body>
</html>
